/**
 * 接口列表文件
 */
export default {
  common: {
    codeInfo: {
      url: "sys/syscode_getCodeInfo",
      auth: true,
      method: "POST",
    },
  },
  info: {
    addChild: {
      url: "info/childreninfo_save",
      auth: true,
      method: "POST",
    },
    getBindChildrenInfo: {
      url: "info/childreninfo_getBindChildrenInfo",
      auth: true,
      method: "POST",
    },
  },
	/** 用户 ↓ **/
	user: {
		accountLogin: {
			url: "doLogin",
			auth: false,
			method: "POST",
			// desc: '账号密码登录',
		},
		register: {
			url: "sys/sysuser_save",
			auth: false,
			method: "POST",
			// desc: '注册',
		},
		forgotPwd: {
			url: "",
			auth: false,
			method: "POST",
			// desc: '重置密码',
		},
		bindMobile: {
			url: "",
			auth: true,
			method: "POST",
			// desc: '修改手机号',
		},
		changePwd: {
			url: "",
			auth: true,
			method: "POST",
			// desc: '修改密码',
		},
		info: {
			url: "getUserInfo",
			auth: true,
			method: "GET",
			// desc: '用户信息',end
		},
		profile: {
			url: "",
			auth: true,
			method: "POST",
			// desc: '修改用户信息',end
		},
		logout: {
			url: "loginOut",
			auth: true,
			method: "POST",
			// desc: '退出登录',end
		},
	},
};
